cmake_minimum_required(VERSION 3.15)

set(CMAKE_CXX_STANDARD 17)

if (POLICY CMP0141)
    cmake_policy(SET CMP0141 NEW)
    set(CMAKE_MSVC_DEBUG_INFORMATION_FORMAT "$<IF:$<AND:$<C_COMPILER_ID:MSVC>,$<CXX_COMPILER_ID:MSVC>>,$<$<CONFIG:Debug,RelWithDebInfo>:EditAndContinue>,$<$<CONFIG:Debug,RelWithDebInfo>:ProgramDatabase>>")
endif()

project(OpenUTSC)

add_subdirectory(LibUTSCKernel)
add_subdirectory(PyUTSC)
add_subdirectory(Example)